
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 实体
 *
 * @author 
 * @date 2022-07-18 16:15:56
 */
@Data
@TableName("MALL_SHOPS_FEEDBACK")
public class MallShopsFeedbackEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    private String id;
    /**
     * 店铺ID
     */
    @NotBlank
    private String shopsId;
    /**
     * 店铺名称
     */
    private String name;
    /**
     * 手机号码
     */
    @Length(max = 12,message = "手机号码超长")
    private String phone;
    /**
     * 地址
     */
    @Length(max = 255,message = "地址超长")
    private String addr;
    /**
     * 状态  1 正常营业   2店铺搬迁
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 备注
     */
    private Date addTime;
}
